﻿namespace SLSearchNavSync.HelperClasses
{
    /// <summary>
    /// Internal class containing project wide constants
    /// </summary>
    internal static class Definitions
    {
        /// <summary>
        /// The internal name of the search navigation sync timer job
        /// </summary>
        internal const string SearchNavigationSyncTimerJobName = "SLSearchNavigationSyncTimerJob";

        /// <summary>
        /// The display name of the search navigation sync timer job
        /// </summary>
        internal const string SearchNavigationSyncTimerJobTitle = "Softlanding - Search Navigation Synchronization Timer Job";

        /// <summary>
        /// The description of the search navigation sync timer job
        /// </summary>
        internal const string SearchNavigationSyncTimerJobDescription = "This Timer Job synchronizes the search navigation from a central Search Center to all the site collections specified.";

        /// <summary>
        /// The ULS category used for logging in the search navigation sync timer job
        /// </summary>
        internal const string UlsCategory = "Softlanding SP2013 Search Nav Sync Timer Job";

        /// <summary>
        /// The Feature ID for the admin pages feature for the search navigation sync timer job
        /// </summary>
        internal const string SearchNavigationTimerJobAdminPagesFeatureId = "E6EA9D76-1191-4486-886D-5D873BAB3276";
        
        /// <summary>
        /// Error message for feacture activation failure
        /// </summary>
        public const string MsgCouldntActivateFeature = "An error occured when activating the \"{0}\" feature!";

        /// <summary>
        /// Error message for feacture deactivation failure
        /// </summary>
        public const string MsgCouldntDeactivateFeature = "An error occured when deactivating the \"{0}\" feature!";
    }
}
